package com.headfirst.BehaviorMode.templatemethod.simplebarista;

public class Tea {

	/**
	 * 1. 把水煮沸
	 * 2. 用沸水冲泡茶叶
	 * 3. 把茶倒进杯子
	 * 4. 加柠檬
	 */
	void prepareRecipe() {
		boilWater();
		steepTeaBag();
		pourInCup();
		addLemon();
	}
 
	public void boilWater() {
		System.out.println("Boiling water");
	}
 
	public void steepTeaBag() {
		System.out.println("Steeping the tea");
	}
 
	public void addLemon() {
		System.out.println("Adding Lemon");
	}
 
	public void pourInCup() {
		System.out.println("Pouring into cup");
	}
}
